package com.zzl.finance.data.dto.feign;

import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author : spp
 * @date : 2021/12/30 19:08
 */
@ApidocModel
@Data
public class FileInfoPar {

    @ApidocModelProperty(description = "文件桶")
    @NotBlank(message = "文件桶不能为空")
    private String bucket;

    @ApidocModelProperty(description = "文件ObjectId集合")
    @Size(min = 1, message = "至少有一个数据")
    private List<String> ids;
}
